<?php
gatekeeper ();
// set the title
// for distributed plugins, be sure to use elgg_echo() for internationalization
$title = elgg_echo('submana:addlistpro');
// $group = get_entity($vars ['group_guid']);
// elgg_push_breadcrumb($group->name, $group->getURL());
// elgg_push_breadcrumb($title);

// start building the main column of the page
$content = elgg_view_title ( $title );

// add form
$form_vars = array('enctype' => 'multipart/form-data');
$content.= elgg_view_form('addgroupsubject');

// optionally, add the content for the sidebar
$sidebar = "Test";

$body = elgg_view_layout ( 'one_sidebar', array (
		'content' => $content,
		'sidebar' => $sidebar 
) );

echo elgg_view_page($title, $body);
//echo $vars ['group_guid'];
?>